Create a Plug-in

Smartpoint templates provide much of the framework that is needed to create a plug-in. Refer to Templates to download the templates and for information on where to save the template files.

Refer to the Sample plug-in topic for a walk-through of creating a plug-in from scratch.

File locations

Code should be written such that it uses relative paths.

When a plug-in is downloaded from Marketplace, all files are downloaded to a temporary folder (by default, the folder is %PROGRAMDATA%\ Travelport\Smartpoint\Travelport.Smartpoint.UpdatesCache). When the agent restarts, these files are then copied to the agent's roaming folder (%Roaming%\Travelport.Preview\Smartpoint\Custom). Any updates to the plug-in will be handled the same way. Information is also written to the agent's registry. All the core Smartpoint libraries are located in Roaming%\Travelport.Preview\Smartpoint\Core folder.